import java.util.Scanner;

public class Ex3_8{
	public static void main(String[] args){
		System.out.print("Enter three integers: ");
		Scanner input = new Scanner(System.in);
		int num1 = input.nextInt();
		int num2 = input.nextInt();
		int num3 = input.nextInt();
		if (num1 > num2){
			int t = num1;
			num1 = num2;
			num2 = t;
		}

		if (num1 > num3){
			int t = num1;
			num1 = num3;
			num3 = t;
		}

		if (num2 > num3){
			int t = num2;
			num2 = num3;
			num3 = t;
		}
		System.out.printf("%d\t%d\t%d\n", num1, num2, num3);
	}
}